package com.yc.boot.sys.model.find;

import com.yc.boot.common.model.base.BasePageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 杨智杰
 * @since 2021/8/23 14:40
 */
@Data
@Accessors(chain = true)
@ApiModel("部门分页条件数据模型")
public class FindDeptPage extends BasePageQuery {

    @ApiModelProperty("根据Id精准查询")
    private Long id;

    @ApiModelProperty("根据上级部门Id精准查询")
    private Long pid;

    @ApiModelProperty("根据部门等级精准查询")
    private Integer level;

    @ApiModelProperty("根据部门名模糊查询")
    private String name;

}
